package org.lib.webvalidation.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import lombok.Data;

/**
 * NameDTO
 * @author ben
 * @date 2021-09-26 10:24:00 CST
 */
@Data
public class NameDTO {

	@NotBlank(message="name不能为空")
	@Size(max=100, message="name长度不能超过100")
	private String name;
	
}
